package com.xms.webresource.core;

/**
 * <p>
 * WebResourceType
 * </p>
 *
 * @author migo
 * @since 2021/9/19
 */
public enum WebResourceType {
    Script(0, "Script"),
    Picture(1, "Picture"),
    Html(2, "Html"),
    Css(3, "Css");

    WebResourceType(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int value() {
        return value;
    }

    public String text() {
        return name;
    }

    private int value;
    private String name;
}
